Blood Pressure Detection Signal Sampling And Compensation Method And Apparatus, And Blood Pressure Signal Collection System

ABSTRACT

Blood pressure detection signal sampling and compensation methods and apparatuses, and an example blood pressure signal collection system are described. One example method described includes controlling an electrocardiogram (ECG) sampling module and a photoplethysmogram (PPG) sampling module to simultaneously sample a standard periodic signal. Sampling frequencies and sampling end times are separately obtained. A sampling start time and a sampling frequency of the ECG sampling module or the PPG module is then compensated so that a sampling frequency deviation is less than a preset frequency threshold and a sampling end time difference is less than a preset time threshold.

TECHNICAL FIELD

Embodiments of the present invention relate to the field of blood pressure detection technologies, and in particular, to a blood pressure detection signal sampling and compensation method and apparatus, and a blood pressure signal collection system.

BACKGROUND

A blood pressure (Blood Pressure, BP) is a lateral pressure, that is, pressure intensity, acting on a vascular wall per unit area when blood flows inside a blood vessel. The blood pressure is an important physiological index that reflects a human cardiovascular function, and is of great significance in a disease diagnosis, quality effect observation, a prognosis, and the like.

In recent years, with the rapid development of intelligent terminals, wearable devices, and mobile medical technologies, convenience of blood pressure monitoring has been gradually improved, so that people pay more attention to family blood pressure monitoring and dynamic blood pressure monitoring.

Many studies show that there is a positive correlation between a velocity at which a pulse propagates along an artery a pulse wave velocity (Pulse Wave Velocity, PWV) and an arterial blood pressure. A common PWV measurement method is calculating a pulse wave transit time (Pulse Transit Time, PTT), that is, a time required for a pulse wave to move from the heart to a point on the artery. By using the PTT to measure the blood pressure, a measured person does not need to use a cuff, and no damage is caused to tissues or blood vessels under a measurement apparatus. This can provide a convenient and comfortable blood pressure measurement manner for a user. In addition, a structure may be small and light, and is suitable for application of a portable or wearable product.

Basically, the PTT measurement method is synchronously collecting an electrocardiogram (electrocardiogram, ECG) signal and a photoplethysmogram (Photoplethysmography, PPG) signal, and identifying an R wave of the ECG signal and a maximum point of the PPG signal, so as to obtain a delay time PTT. A mathematical model relationship is established between the PTT and the blood pressure, so as to finally obtain values of a systolic blood pressure and a diastolic blood pressure. Because the ECG signal and the PPG signal are sampled separately, there may be a deviation in sampling time and frequency precision. A sampling deviation directly affects precision of subsequent blood pressure mathematical modeling. Consequently, precision of blood pressure measurement using the PWV method is affected.

SUMMARY

Embodiments of the present invention provide a blood pressure detection signal sampling and compensation method and apparatus, and a blood pressure signal collection system, so as to improve precision of a blood pressure detection signal.

According to a first aspect, a blood pressure detection signal sampling and compensation method is provided, including:

controlling an ECG sampling module and a PPG module to simultaneously sample a standard periodic signal;

separately obtaining sampling frequencies and sampling end times of the ECG sampling module and the PPG sampling module for the standard periodic signal;

compensating for a sampling frequency of the ECG sampling module if a sampling frequency deviation of the ECG sampling module for the standard periodic signal exceeds a preset frequency threshold, so that the sampling frequency deviation of the ECG sampling module for the standard periodic signal is less than the preset frequency threshold;

compensating for a sampling frequency of the PPG sampling module if a sampling frequency deviation of the PPG sampling module for the standard periodic signal exceeds the preset frequency threshold, so that the sampling frequency deviation of the PPG sampling module for the standard periodic signal is less than the preset frequency threshold; and

compensating for a sampling start time of the ECG sampling module or the PPG sampling module if a sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal exceeds a preset time threshold, so that the sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal is less than the preset time threshold.

According to the blood pressure detection signal sampling and compensation method provided in the present invention, the ECG sampling module and the PPG sampling module are controlled to sample an ECG signal and a PPG signal of a to-be-detected user and sample the standard periodic signal, so as to obtain a sampling end time difference between the ECG signal and the PPG signal, and the sampling frequency deviations of the ECG sampling module and the PPG sampling module for the standard periodic signal, thereby compensating for the sampling start time of the ECG sampling module or the PPG sampling module and compensating for the sampling frequencies of the ECG sampling module and the PPG sampling module. In this way, the sampling end time difference between the ECG signal and the PPG signal is less than the preset time threshold, and the sampling frequency deviations of the ECG sampling module and the PPG sampling module for the standard periodic signal are less than the preset frequency threshold, so that an error of a PTT determined by using the ECG sampling module and the PPG sampling module falls within an allowed range, and an error of a blood pressure value measured by using a PTT method falls within an allowed range, thereby improving precision of blood pressure measurement performed by using the PTT method.

In a possible implementation of the first aspect, before the controlling an ECG sampling module and a PPG sampling module to simultaneously sample a standard periodic signal, the method further includes:

generating a high-precision clock signal, where precision of the high-precision clock signal is one order of magnitude higher than precision of clock signals in the ECG sampling module and the PPG sampling module;

the controlling an ECG sampling module and a PPG sampling module to simultaneously sample a standard periodic signal includes:

controlling, based on the high-precision clock signal, the ECG sampling module and the PPG sampling module to simultaneously sample the standard periodic signal; and

the separately obtaining sampling frequencies and sampling end times of the ECG sampling module and the PPG sampling module for the standard periodic signal includes:

recording the sampling end times of the ECG sampling module and the PPG sampling module for the standard periodic signal based on the high-precision clock signal.

The high-precision clock signal can ensure precise recording of the sampling start times and the sampling end times of the ECG sampling module and the PPG sampling module, and ensure a stable frequency of the standard periodic signal generated based on the high-precision clock signal.

In a possible implementation of the first aspect, the high-precision clock signal is generated by any one of a high-precision system crystal oscillator, a synchronization calibration clock signal of a Bluetooth module, and a synchronization calibration clock signal of a WiFi module; and

the high-precision clock signal includes:

any one of a sine wave signal, a triangular wave signal, and a sawtooth signal.

In a possible implementation of the first aspect, before the controlling an ECG sampling module and a PPG sampling module to separately sample a standard periodic signal, the method further includes:

generating the standard periodic signal based on the high-precision clock signal.

In a possible implementation of the first aspect, the controlling an ECG sampling module and a PPG sampling module to separately sample a standard periodic signal includes:

controlling the ECG sampling module to sample the standard periodic signal, and calculating a frequency f₁ of sampled data; and

controlling the PPG sampling module to sample the standard periodic signal, and calculating a frequency f₂ of sampled data;

the separately obtaining sampling frequencies and sampling end times of the ECG sampling module and the PPG sampling module for the standard periodic signal includes:

calculating Δf₁₀=|f₁−f₀| and Δf₂₀=|f₂−f₀|, where f₀ is a frequency of the standard periodic signal, Δf₁₀ is the sampling frequency deviation of the ECG sampling module for the standard periodic signal, and Δf₂₀ is the sampling frequency deviation of the PPG sampling module for the standard periodic signal;

the compensating for a sampling frequency of the ECG sampling module if a sampling frequency deviation of the ECG sampling module for the standard periodic signal exceeds a preset frequency threshold, so that the sampling frequency deviation of the ECG sampling module for the standard periodic signal is less than the preset frequency threshold includes:

if Δf₁₀>F₀ and f₁>f₀, reducing data sampled by the ECG sampling module by a quantity L, where (Δf₁₀−F₀)≤L≤Δf₁₀, and using (F₁−L) as a new sampling frequency of the ECG sampling module, where F₁ is an original sampling frequency of the ECG sampling module, and F₀ is the preset frequency threshold; or

if Δf₁₀>F₀ and f₁<f₀, increasing data sampled by the ECG sampling module by a quantity M, where (Δf₁₀−F₀)≤M≤Δf₁₀, and using (F₁+M) as a new sampling frequency of the ECG sampling module; and

the compensating for a sampling frequency of the PPG sampling module if a sampling frequency deviation of the PPG sampling module for the standard periodic signal exceeds the preset frequency threshold, so that the sampling frequency deviation of the PPG sampling module for the standard periodic signal is less than the preset frequency threshold includes:

if Δf₂₀>F₀ and f₂>f₀, reducing data sampled by the PPG sampling) module by a quantity N, where (Δf₂₀−F₀)≤N≤Δf₂₀, and using (F₂−N) as a new sampling frequency of the PPG sampling module, where F₂ is an original sampling frequency of the PPG sampling module; or

if Δf₂₀>F₀ and f₂<f₀, increasing data sampled by the PPG sampling) module by a quantity P, where (Δf₂₀−F₀)≤P≤Δf₂₀, and using (F₂+P) as a new sampling frequency of the PPG sampling module.

In a possible implementation of the first aspect, the compensating for a sampling start time of the ECG sampling module or the PPG sampling module if a sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal exceeds a preset time threshold, so that the sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal is less than the preset time threshold includes:

calculating the sampling end time difference Δt₂₁ between the ECG sampling module and the PPG sampling module for the standard periodic signal, where Δt₂₁=|t₂−t₁|, t₁ is a sampling end time of the ECG sampling module for the standard periodic signal, and t₂ is a sampling end time of the PPG sampling module for the standard periodic signal; and

delaying a sampling time-to-trigger t_(p1) of the ECG sampling module if Δt₂₁>T₀ and t₂>t₁, so that T₀<|t_(p1)−t_(p2)|<Δt₂₁ is met, where t_(p2) is a sampling time-to-trigger of the PPG sampling module, and T₀ is the preset time threshold; or

delaying a sampling time-to-trigger t_(p2) of the PPG sampling module if Δt₂₁>T₀ and t₂>t₁, so that T₀<|t_(p1)−t_(p2)|<Δt₂₁ is met.

According to a second aspect, a blood pressure detection signal sampling and compensation apparatus is provided, including:

a control module, configured to control an ECG sampling module and a PPG module to simultaneously sample a standard periodic signal;

a calculation module, configured to separately obtain sampling frequencies and sampling end times of the ECG sampling module and the PPG sampling module for the standard periodic signal; and

a compensation module, configured to: compensate for a sampling frequency of the ECG sampling module if a sampling frequency deviation of the ECG sampling module for the standard periodic signal exceeds a preset frequency threshold, so that the sampling frequency deviation of the ECG sampling module for the standard periodic signal is less than the preset frequency threshold; compensate for a sampling frequency of the PPG sampling module if a sampling frequency deviation of the PPG sampling module for the standard periodic signal exceeds the preset frequency threshold, so that the sampling frequency deviation of the PPG sampling module for the standard periodic signal is less than the preset frequency threshold; and compensate for a sampling start time of the ECG sampling module or the PPG sampling module if a sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal exceeds a preset time threshold, so that the sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal is less than the preset time threshold.

In a possible implementation of the second aspect, the blood pressure detection signal sampling and compensation apparatus further includes: a clock module, configured to generate a high-precision clock signal, where precision of the high-precision clock signal is one order of magnitude higher than precision of clock signals in the ECG sampling module and the PPG sampling module; and

the control module is specifically configured to: control, based on the high-precision clock signal, the ECG sampling module and the PPG sampling module to simultaneously sample the standard periodic signal, and record the sampling end times of the ECG sampling module and the PPG sampling module for the standard periodic signal based on the high-precision clock signal.

In a possible implementation of the second aspect, the high-precision clock signal is generated by any one of a high-precision system crystal oscillator, a synchronization calibration clock signal of a Bluetooth module, and a synchronization calibration clock signal of a WiFi module; and

the high-precision clock signal includes:

any one of a sine wave signal, a triangular wave signal, and a sawtooth signal.

In a possible implementation of the second aspect, the calculation module is further configured to generate the standard periodic signal based on the high-precision clock signal.

In a possible implementation of the second aspect, the control module is specifically configured to: control the ECG sampling module to sample the standard periodic signal, and calculate a frequency f₁ of sampled data; and control the PPG sampling module to sample the standard periodic signal, and calculate a frequency f₂ of sampled data;

the calculation module is specifically configured to calculate Δf₁₀=|f₁−f₀| and Δf₂₀=|f₂−f₀|, where f₀ is a frequency of the standard periodic signal, Δf₁₀ is the sampling frequency deviation of the ECG sampling module for the standard periodic signal, and Δf₂₀ is the sampling frequency deviation of the PPG sampling module for the standard periodic signal; and

the compensation module is specifically configured to: if Δf₁₀>F₀ and f₁>f₀, reduce data sampled by the ECG sampling module by a quantity L, where (Δf₁₀−F₀)≤L≤Δf₁₀, and use (F₁−L) as a new sampling frequency of the ECG sampling module, where F₁ is an original sampling frequency of the ECG sampling module, and F₀ is the preset frequency threshold; if Δf₁₀>F₀ and f₁<f₀, increase data sampled by the ECG sampling module by a quantity M, where (Δf₁₀−F₀)≤M≤Δf₁₀, and use (F₁+M) as a new sampling frequency of the ECG sampling module; if Δf₂₀>F₀ and f₂>f₀, reduce data sampled by the PPG sampling module by a quantity N, where (Δf₂₀−F₀)≤N≤Δf₂₀, and use (F₂−N) as a new sampling frequency of the PPG sampling module, where F₂ is an original sampling frequency of the PPG sampling module; or if Δf₂₀>F₀ and f₂<f₀, increase data sampled by the PPG sampling module by a quantity P, where (Δf₂₀−F₀)≤P≤Δf₂₀, and use (F₂+P) as a new sampling frequency of the PPG sampling module.

In a possible implementation of the second aspect, the calculation module is further configured to calculate the sampling end time difference Δt₂₁ between the sampling module and the PPG sampling module for the standard periodic signal, where Δt₂₁=|t₂−t₁|, t₁ is a sampling end time of the ECG sampling module for the standard periodic signal, and t₂ is a sampling end time of the PPG sampling module for the standard periodic signal; and

the compensation module is specifically configured to delay a sampling time-to-trigger t_(p1) of the ECG sampling module if Δt₂₁>T₀ and t₂>t₁, so that T₀<|t_(p1)−t_(p2)|<Δt₂₁ is met, where t_(p2) is a sampling time-to-trigger of the PPG sampling module, and T₀ is the preset time threshold; or delay a sampling time-to-trigger t_(p2) of the PPG sampling module if Δt₂₁>T₀ and t₂<t₁, so that T₀<|t_(p1)−t_(p2)|<Δt₂₁ is met.

According to a third aspect, a blood pressure signal sampling system is provided, including an ECG sampling module, a PPG sampling module, and a processor, where

the processor is configured to: control the ECG sampling module and the PPG module to simultaneously sample a standard periodic signal; separately obtain sampling frequencies and sampling end times of the ECG sampling module and the PPG sampling module for the standard periodic signal; compensate for a sampling frequency of the ECG sampling module if a sampling frequency deviation of the ECG sampling module for the standard periodic signal exceeds a preset frequency threshold, so that the sampling frequency deviation of the ECG sampling module for the standard periodic signal is less than the preset frequency threshold; compensate for a sampling frequency of the PPG sampling module if a sampling frequency deviation of the PPG sampling module for the standard periodic signal exceeds the preset frequency threshold, so that the sampling frequency deviation of the PPG sampling module for the standard periodic signal is less than the preset frequency threshold; and compensate for a sampling start time of the ECG sampling module or the PPG sampling module if a sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal exceeds a preset time threshold, so that the sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal is less than the preset time threshold.

In a possible implementation of the third aspect, the blood pressure signal sampling system further includes: a clock module, configured to generate a high-precision clock signal, where precision of the high-precision clock signal is one order of magnitude higher than precision of clock signals in the ECG sampling module and the PPG sampling module; and

the processor is specifically configured to: control, based on the high-precision clock signal, the ECG sampling module and the PPG sampling module to simultaneously sample the standard periodic signal, and record the sampling end times of the ECG sampling module and the PPG sampling module for the standard periodic signal based on the high-precision clock signal.

In a possible implementation of the third aspect, the clock module includes any one of a high-precision system crystal oscillator, a clock module in a Bluetooth module, and a clock module in a WiFi module;

the high-precision clock signal is generated by any one of the high-precision system crystal oscillator, a synchronization calibration clock signal of the Bluetooth module, and a synchronization calibration clock signal of the WiFi module; and

the high-precision clock signal includes:

any one of a sine wave signal, a triangular wave signal, and a sawtooth signal.

In a possible implementation of the third aspect, the processor is further configured to generate the standard periodic signal based on the high-precision clock signal.

In a possible implementation of the third aspect, the processor is specifically configured to: control the ECG sampling module to sample the standard periodic signal, and calculate a frequency f₁ of sampled data; control the PPG sampling module to sample the standard periodic signal, and calculate a frequency f₂ of sampled data; calculate Δf₁₀=|f₁−f₀| and Δf₂₀=|f₂−f₀|, where f₀ is a frequency of the standard periodic signal, Δf₁₀ is the sampling frequency deviation of the ECG sampling module for the standard periodic signal, and Δf₂₀ is the sampling frequency deviation of the PPG sampling module for the standard periodic signal; and if Δf₁₀>F₀ and f₁>f₀, reduce data sampled by the ECG sampling module by a quantity L, where (Δf₁₀−F₀)≤L≤Δf₁₀, and use (F₁−L) as a new sampling frequency of the ECG sampling module, where F₁ is an original sampling frequency of the ECG sampling module, and F₀ is the preset frequency threshold; if Δf₁₀>F₀ and f₁<f₀, increase data sampled by the ECG sampling module by a quantity M, where (Δf₁₀−F₀)≤M≤Δf₁₀, and use (F₁+M) as a new sampling frequency of the ECG sampling module; if Δf₂₀>F₀ and f₂>f₀, reduce data sampled by the PPG sampling module by a quantity N, where (Δf₂₀−F₀)≤N≤Δf₂₀, and use (F₂−N) as a new sampling frequency of the PPG sampling module, where F₂ is an original sampling frequency of the PPG sampling module; or if Δf₂₀>F₀ and f₂<f₀, increase data sampled by the PPG sampling module by a quantity P, where (Δf₂₀−F₀)≤P≤Δf₂₀, and use (F₂+P) as a new sampling frequency of the PPG sampling module.

In a possible implementation of the third aspect, the processor is specifically configured to: calculate the sampling end time difference Δt₂₁ between the ECG sampling module and the PPG sampling module for the standard periodic signal, where Δt₂₁=|t₂−t₁|, t₁ is a sampling end time of the ECG sampling module for the standard periodic signal, and t₂ is a sampling end time of the PPG sampling module for the standard periodic signal; and delay a sampling time-to-trigger t_(p1) of the ECG sampling module if Δt₂₁>T₀ and t₂>t₁, so that T₀<|t_(p1)−t_(p2)|<Δt₂₁ is met, where t_(p2) is a sampling time-to-trigger of the PPG sampling module, and T₀ is the preset time threshold; or delay a sampling time-to-trigger t_(p2) of the PPG sampling module if Δt₂₁>T₀ and t₂<t₁, so that T₀<|t_(p1)−t_(p2)|<Δt₂₁ is met.

According to the blood pressure detection signal sampling and compensation method and apparatus, and the blood pressure signal collection system that are provided in the embodiments of the present invention, the ECG sampling module and the PPG sampling module are controlled to sample the ECG signal and the PPG signal of the to-be-detected user and sample the standard periodic signal, so as to obtain the sampling end time difference between the ECG signal and the PPG signal, and the sampling frequency deviations of the ECG sampling module and the PPG sampling module for the standard periodic signal, thereby compensating for the sampling start time of the ECG sampling module or the PPG sampling module and compensating for the sampling frequencies of the ECG sampling module and the PPG sampling module. In this way, the sampling end time difference between the ECG signal and the PPG signal is less than the preset time threshold, and the sampling frequency deviations of the ECG sampling module and the PPG sampling module for the standard periodic signal are less than the preset frequency threshold, so that the error of the PTT determined by using the ECG sampling module and the PPG sampling module falls within the allowed range, and the error of the blood pressure value measured by using the PTT method falls within the allowed range, thereby improving the precision of blood pressure measurement performed by using the PTT method.

BRIEF DESCRIPTION OF DRAWINGS

To describe the technical solutions in the embodiments of the present invention or in the prior art more clearly, the following briefly describes the accompanying drawings required for describing the embodiments or the prior art.

Apparently, the accompanying drawings in the following description show some embodiments of the present invention, and persons of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.

FIG. 1 is a flowchart of Embodiment 1 of a blood pressure detection signal sampling and compensation method according to an embodiment of the present invention;

FIG. 2 is a flowchart of Embodiment 2 of a blood pressure detection signal sampling and compensation method according to an embodiment of the present invention;

FIG. 3 is a flowchart of Embodiment 3 of a blood pressure detection signal sampling and compensation method according to an embodiment of the present invention;

FIG. 4 is a schematic structural diagram of Embodiment 1 of a blood pressure detection signal sampling and compensation apparatus according to an embodiment of the present invention;

FIG. 5 is a schematic structural diagram of Embodiment 2 of a blood pressure detection signal sampling and compensation apparatus according to an embodiment of the present invention;

FIG. 6 is a schematic structural diagram of Embodiment 1 of a blood pressure signal sampling system according to an embodiment of the present invention; and

FIG. 7 is a schematic structural diagram of Embodiment 2 of a blood pressure signal sampling system according to an embodiment of the present invention.

DESCRIPTION OF EMBODIMENTS

To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following clearly and completely describes the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are some but not all of the embodiments of the present invention. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

When a PTT method is used to measure a blood pressure, an ECG signal and a PPG signal of a user need to be measured synchronously, a PTT is obtained by analyzing the ECG signal and the PPG signal, and then values of a systolic blood pressure and a diastolic blood pressure are obtained by using a relationship between the PTT and the blood pressure. The ECG signal and the PPG signal are respectively sampled by using a corresponding ECG sampling module and PPG sampling module. However, because sampling frequencies and sampling times of the ECG sampling module and the PPG sampling module may have deviations, the PTT obtained by analyzing the ECG signal and the PPG signal may have a deviation. Consequently, a finally obtained blood pressure value may be affected.

Therefore, the embodiments of the present invention provide a blood pressure detection signal sampling and compensation method, so as to compensate for signals collected by the ECG sampling module and the PPG sampling module, so that a deviation of the finally measured blood pressure value is less than a preset threshold.

FIG. 1 is a flowchart of Embodiment 1 of a blood pressure detection signal sampling and compensation method according to an embodiment of the present invention. As shown in FIG. 1, the method provided in this embodiment includes the following steps.

Step S101: Control an ECG sampling module and a PPG sampling module to simultaneously sample a standard periodic signal.

Specifically, an ECG signal and a PPG signal are respectively collected by the ECG sampling module and the PPG sampling module, and the ECG sampling module and the PPG sampling module are mutually independent. Therefore, sampling times and sampling frequencies of the ECG sampling module and the PPG sampling module may have deviations. Consequently, there is a deviation in time synchronization or frequency synchronization of the ECG signal and the PPG signal that are obtained through sampling. As a result, there is an error in a PTT. Therefore, to resolve the PTT error, a sampling time deviation between and sampling frequency deviations of the ECG sampling module and the PPG sampling module need to be eliminated. In this case, the sampling time deviation between and the sampling frequency deviations of the ECG sampling module and the PPG sampling module need to be measured first, so that the sampling times and the sampling frequencies of the ECG sampling module and the PPG sampling module can be compensated for. In this way, the PTT error is reduced to an allowed range, so that an error of a blood pressure value measured by using a PTT method falls within an allowed range.

To measure the sampling time deviation between and the sampling frequency deviations of the ECG sampling module and the PPG sampling module, the ECG sampling module and the PPG sampling module may be separately controlled to simultaneously sample a standard periodic signal.

Step S102: Separately obtain sampling frequencies and sampling end times of the ECG sampling module and the PPG sampling module for the standard periodic signal.

First, when the ECG sampling module and the PPG sampling module are separately controlled to sample the standard periodic signal, sampling frequencies of signals obtained through sampling by the ECG sampling module and the PPG sampling module are separately recorded, and the sampling end times are separately recorded.

A timer may be used to control the ECG sampling module and the PPG sampling module to simultaneously perform sampling. A controller simultaneously sends a sampling notification message to the ECG sampling module and the PPG sampling module based on triggering of the timer, so that the ECG sampling module and the PPG sampling module simultaneously perform measurement. Because the PTT needs to be obtained by performing synchronous comparison on the signals collected by the ECG sampling module and the PPG sampling module, sampling data volumes or the sampling times of the ECG sampling module and the PPG sampling module should be the same. However, a sampling error may exist in the ECG sampling module and the PPG sampling module. Therefore, although the ECG sampling module and the PPG sampling module simultaneously start sampling, the sampling end times may be different. Therefore, the sampling end times of the ECG sampling module and the PPG sampling module are separately recorded.

To detect sampling frequency errors of the ECG sampling module and the PPG sampling module, a known reference signal needs to be found, and sampling frequencies of the ECG sampling module and the PPG sampling module on the known reference signal are separately measured, so that the sampling frequency errors of the ECG sampling module and the PPG sampling module can be learned of.

Herein, the ECG sampling module and the PPG sampling module are separately controlled to sample the standard periodic signal. The standard periodic signal is a standard signal such as a sine wave signal, a rectangular wave signal, a triangular wave signal, or a sawtooth signal, with a known and stable frequency. The standard periodic signal may be an existing periodic signal, or may be a newly generated periodic signal.

Step S103: Compensate for a sampling frequency of the ECG sampling module if a sampling frequency deviation of the ECG sampling module for the standard periodic signal exceeds a preset frequency threshold, so that the sampling frequency deviation of the ECG sampling module for the standard periodic signal is less than the preset frequency threshold.

Specifically, after the ECG sampling module and the PPG sampling module separately sample the standard periodic signal, sampled data may be separately obtained, and after the two pieces of sampled data are separately analyzed, frequencies of the sampled data may be learned of. The obtained frequencies of the two pieces of sampled data are compared with the frequency of the standard periodic signal, so that the sampling frequency deviations of the ECG sampling module and the PPG sampling module for the standard periodic signal can be separately calculated.

Because the frequency of the standard periodic signal is stable, sampling errors for the standard periodic signal reflect system sampling errors of the ECG sampling module and the PPG sampling module. The sampling errors of the ECG sampling module and the PPG sampling module may be eliminated by compensating for the system sampling errors of the ECG sampling module and the PPG sampling module.

After the sampling frequency deviation of the ECG sampling module for the standard periodic signal is calculated, if the sampling frequency deviation of the ECG sampling module for the standard periodic signal does not exceed the preset frequency threshold, it means that the sampling frequency deviation of the ECG sampling module falls within an allowed range, and no compensation needs to be performed.

If the sampling frequency deviation of the ECG sampling module for the standard periodic signal exceeds the preset frequency threshold, the sampling frequency deviation of the ECG sampling module exceeds the allowed range, and the ECG sampling module needs to be compensated for. A purpose of compensating for the ECG sampling module is to make the sampling frequency deviation of the ECG sampling module for the standard periodic signal be less than the preset frequency threshold. A method for compensating for the ECG sampling module is increasing or decreasing a quantity of sampling points of the ECG sampling module, so as to increase or decrease the sampling frequency of the ECG sampling module.

Step S104: Compensate for a sampling frequency of the PPG sampling module if a sampling frequency deviation of the PPG sampling module for the standard periodic signal exceeds the preset frequency threshold, so that the sampling frequency deviation of the PPG sampling module for the standard periodic signal is less than the preset frequency threshold.

Specifically, after the sampling frequency deviation of the PPG sampling module for the standard periodic signal is calculated, if the sampling frequency deviation of the PPG sampling module for the standard periodic signal does not exceed the preset frequency threshold, it means that the sampling frequency deviation of the PPG sampling module falls within the allowed range, and no compensation needs to be performed.

If the sampling frequency deviation of the PPG sampling module for the standard periodic signal exceeds the preset frequency threshold, the sampling frequency deviation of the PPG sampling module exceeds the allowed range, and the PPG sampling module needs to be compensated for. A purpose of compensating for the PPG sampling module is to make the sampling frequency deviation of the PPG sampling module for the standard periodic signal be less than the preset frequency threshold. A method for compensating for the PPG sampling module is increasing or decreasing a quantity of sampling points of the PPG sampling module, so as to increase or decrease the sampling frequency of the PPG sampling module.

A compensated sampling frequency of the ECG sampling module and a compensated sampling frequency of the PPG signal are used as new sampling frequencies of the ECG sampling module and the PPG sampling module. In this way, impact on PTT calculation due to the sampling frequency deviations of the ECG sampling module and the PPG sampling module can be eliminated.

Step S105: Compensate for a sampling start time of the ECG sampling module or the PPG sampling module if a sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal exceeds a preset time threshold, so that the sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal is less than the preset time threshold.

After the sampling end times of the ECG sampling module and the PPG sampling module for the standard periodic signal are obtained, determining is performed on the sampling end times, so as to determine whether the sampling end time difference exceeds the preset time threshold. The preset time threshold is an allowed error range of a deviation, and may be determined based on different precision requirements for blood pressure measurement. For example, in blood pressure measurement at a home level, the preset time threshold may be set to be relatively great, but in blood pressure measurement at a medical level, the preset time threshold needs to be set to be relatively small. If the sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal does not exceed the preset time threshold, it means that the sampling time deviation between the ECG sampling module and the PPG sampling module falls within an allowed range, and no compensation needs to be performed.

However, if the sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal exceeds the preset time threshold, the sampling time deviation between the ECG sampling module and the PPG sampling module exceeds the allowed range, and the ECG sampling module or the PPG sampling module needs to be compensated for. The compensation may be performed on the ECG sampling module or the PPG sampling module, and may be delaying the sampling start time of the ECG sampling module or the PPG sampling module or advancing the sampling start time of the ECG sampling module or the PPG sampling module. However, generally, the sampling start time of the ECG sampling module or the PPG sampling module is delayed. In short, the sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal needs to be less than the preset time threshold, and a compensated sampling start time of the ECG sampling module and a compensated sampling start time of the PPG signal are used as new sampling start times of the ECG sampling module and the PPG sampling module. In this way, impact on PTT calculation due to the time deviation between the ECG sampling module and the PPG sampling module can be eliminated.

According to the blood pressure detection signal sampling and compensation method provided in this embodiment, the ECG sampling module and the PPG sampling module are controlled to sample the standard periodic signal, so as to separately obtain the sampling frequencies and the sampling end times of the ECG sampling module and the PPG sampling module for the standard periodic signal, thereby compensating for the sampling start time of the ECG sampling module or the PPG sampling module and compensating for the sampling frequencies of the ECG sampling module and the PPG sampling module. In this way, the sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal is less than the preset time threshold, and the sampling frequency deviations of the ECG sampling module and the PPG sampling module for the standard periodic signal are less than the preset frequency threshold, so that the error of the PTT determined by using the ECG sampling module and the PPG sampling module falls within the allowed range, and the error of the blood pressure value measured by using the PTT method falls within the allowed range, thereby improving precision of blood pressure measurement performed by using the PTT method.

To ensure precise synchronization between the start times of the ECG sampling module and the PPG sampling module, and the stable frequency of the sampled standard periodic signal, a high-precision clock signal is required as a basis for the time synchronization and as a basis for generating the standard periodic signal. In this case, before the standard periodic signal is sampled, the high-precision clock signal may further be generated. Precision of the high-precision clock signal is one order of magnitude higher than precision of clock signals in the ECG sampling module and the PPG sampling module. The high-precision clock signal can ensure precise recording of the sampling start times and the sampling end times of the ECG sampling module and the PPG sampling module, and ensure the stable frequency of the standard periodic signal generated based on the high-precision clock signal.

The high-precision clock signal is generated by any one of a high-precision system crystal oscillator, a synchronization calibration clock signal of a Bluetooth module, and a synchronization calibration clock signal of a Wireless Fidelity (Wireless Fidelity, WiFi) module. The high-precision clock signal includes any one of a sine wave signal, a triangular wave signal, and a sawtooth signal.

FIG. 2 is a flowchart of Embodiment 2 of a blood pressure detection signal sampling and compensation method according to an embodiment of the present invention. As shown in FIG. 2, the method provided in this embodiment includes the following steps.

Step S201: Control an ECG sampling module to sample a standard periodic signal, and calculate a frequency f₁ of sampled data.

Step S202: Control a PPG sampling module to sample the standard periodic signal, and calculate a frequency f₂ of sampled data.

Specifically, the blood pressure detection signal sampling and compensation method provided in this embodiment is a specific method for compensating for a frequency error of a blood pressure detection signal. First, the ECG sampling module is controlled to sample the standard periodic signal to obtain a plurality of sampled data. Then, the frequency of the signal obtained through sampling is determined based on the obtained plurality of sampled data, and is denoted as f₁. The PPG sampling module is controlled to sample the standard periodic signal to obtain a plurality of sampled data. Then, the frequency of the signal obtained through sampling is determined based on the obtained plurality of sampled data, and is denoted as f₂. The standard periodic signal is any signal that has a fixed frequency, such as a sine wave signal, a triangular wave signal, a rectangular wave signal, or a sawtooth signal. A method for sampling the frequency of the standard periodic signal may be a maximum value method or a minimum value method. The maximum value method is extracting peak values of obtained K pieces of data to calculate frequencies f₁ ¹, f₂ ¹, . . . , and f_(K) ¹ of the data, and then averaging the frequencies of the K pieces of data in K periods to obtain f₁, where f₁=(f₁ ¹+f₂ ¹+ . . . +f_(K) ¹)/K. Similarly, f₂ may be obtained according to the method, where f₂=(f₁ ²+f₂ ²+ . . . +f_(K) ²)/K.

Step S203: Calculate Δf₁₀=|f₁−f₀| and Δf₂₀=|f₂−f₀|, where f₀ is a frequency of the standard periodic signal, Δf₁₀ is a sampling frequency deviation of the ECG sampling module for the standard periodic signal, and Δf₂₀ is a sampling frequency deviation of the PPG sampling module for the standard periodic signal.

Specifically, after f₁ and f₂ are obtained, the sampling frequency deviations of the ECG sampling module and the PPG sampling module for the standard periodic signal may be calculated according to the formulas Δf₁₀=|f₁−f₀| and Δf₂₀=|f₂−f₀|. f₀ is the frequency of the standard periodic signal. Δf₁₀ is the sampling frequency deviation of the ECG sampling module for the standard periodic signal, and Δ₂₀ is the sampling frequency deviation of the PPG sampling module for the standard periodic signal.

Step S204: Determine whether the sampling frequency deviation of the ECG sampling module for the standard periodic signal exceeds a preset frequency threshold.

Specifically, whether the sampling frequency deviation of the ECG sampling module for the standard periodic signal exceeds the preset frequency threshold is determined based on a relationship between Δf₁₀ and F₀, where F₀ is the preset frequency threshold. If Δf₁₀≤F₀, it indicates that the sampling frequency deviation of the ECG sampling module for the standard periodic signal does not exceed the preset frequency threshold. In this case, it is not necessary to compensate for a sampling frequency of the ECG sampling module. This process may be terminated. If Δf₁₀>F₀, a relationship between f₁ and f₀ further needs to be determined. If f₁>f₀, step S205 is performed. If f₁<f₀, step S206 is performed.

Step S205: If Δf₁₀>F₀ and f₁>f₀, reduce data sampled by the ECG sampling module by a quantity L, where (Δf₁₀−F₀)≤L≤Δf₁₀, and use (F₁−L) as a new sampling frequency of the ECG sampling module, where F₁ is an original sampling frequency of the ECG sampling module, and F₀ is the preset frequency threshold.

Specifically, if Δf₁₀>F₀, it indicates that the sampling frequency deviation of the ECG sampling module for the standard periodic signal exceeds the preset frequency threshold, and f₁>f₀ indicates that the sampling frequency of the ECG sampling module for the standard periodic signal is greater than the frequency of the standard periodic signal. In this case, the sampling frequency of the ECG sampling module needs to be reduced. A method for reducing the sampling frequency of the ECG sampling module may be reducing the data sampled by the ECG sampling module by the quantity L, where (Δf₁₀−F₀)≤L≤Δf₁₀, so as to ensure that a sampling frequency deviation of the new sampling frequency (F₁−L) of the ECG sampling module can meet a requirement. F₁ is the original sampling frequency of the ECG sampling module.

A method for reducing the data sampled by the ECG sampling module by the quantity L may be extracting one piece of data every a specified length l, where l=(f₁/L).

Step S206: If Δf₁₀>F₀ and f₁<f₀, increase data sampled by the ECG sampling module by a quantity M, where (Δf₁₀−F₀)≤M≤Δf₁₀, and use (F₁+M) as a new sampling frequency of the ECG sampling module.

Specifically, if Δf₁₀>F₀, it indicates that the sampling frequency deviation of the ECG sampling module for the standard periodic signal exceeds the preset frequency threshold, and f₁<f₀ indicates that the sampling frequency of the ECG sampling module for the standard periodic signal is less than the frequency of the standard periodic signal. In this case, the sampling frequency of the ECG sampling module needs to be increased. A method for increasing the sampling frequency of the ECG sampling module may be increasing the data sampled by the ECG sampling module by the quantity M, where (Δf₁₀−F₀)≤M≤Δf₁₀, so as to ensure that a sampling frequency deviation of the new sampling frequency (F₁+M) of the ECG sampling module can meet a requirement.

A method for increasing the data sampled by the ECG sampling module by the quantity M may be adding one piece of data every a specified length m, where m=(f₁/M).

Step S207: Determine whether the sampling frequency deviation of the PPG sampling module for the standard periodic signal exceeds a preset frequency threshold.

Specifically, whether the sampling frequency deviation of the PPG sampling module for the standard periodic signal exceeds the preset frequency threshold is determined based on a relationship between Δf₂₀ and F₀. If Δf₂₀≤F₀, it indicates that the sampling frequency deviation of the PPG sampling module for the standard periodic signal does not exceed the preset frequency threshold. In this case, it is not necessary to compensate for a sampling frequency of the PPG sampling module. This process may be terminated. If Δf₂₀>F₀, a relationship between f₂ and f₀ further needs to be determined. If f₂>f₀, step S208 is performed. If f₂<f₀, step S209 is performed.

Step S208: If Δf₂₀>F₀ and f₂>f₀, reduce data sampled by the PPG sampling module by a quantity N, where (Δf₂₀−F₀)≤N≤Δf₂₀, and use (F₂−N) as a new sampling frequency of the PPG sampling module, where F₂ is an original sampling frequency of the PPG sampling module.

Specifically, if Δf₂₀>F₀, it indicates that the sampling frequency deviation of the PPG sampling module for the standard periodic signal exceeds the preset frequency threshold, and f₂>f₀ indicates that the sampling frequency of the PPG sampling module for the standard periodic signal is greater than the frequency of the standard periodic signal. In this case, the sampling frequency of the PPG sampling module needs to be reduced. A method for reducing the sampling frequency of the PPG sampling module may be reducing the data sampled by the PPG sampling module by the quantity N, where (Δf₂₀−F₀)≤N≤Δf₂₀, so as to ensure that a sampling frequency deviation of the new sampling frequency (F₂−N) of the PPG sampling module can meet a requirement. F₂ is the original sampling frequency of the PPG sampling module.

A method for reducing the data sampled by the PPG sampling module by the quantity N may be extracting one piece of data every a specified length n, where n=(f₁/N).

Step S209: If Δf₂₀>F₀ and f₂<f₀, increase data sampled by the PPG sampling module by a quantity P, where (Δf₂₀−F₀)≤P≤Δf₂₀, and use (F₂+P) as a new sampling frequency of the PPG sampling module.

Specifically, if Δf₂₀>F₀, it indicates that the sampling frequency deviation of the PPG sampling module for the standard periodic signal exceeds the preset frequency threshold, and f₂<f₀ indicates that the sampling frequency of the PPG sampling module for the standard periodic signal is less than the frequency of the standard periodic signal. In this case, the sampling frequency of the PPG sampling module needs to be increased. A method for increasing the sampling frequency of the PPG sampling module may be increasing the data sampled by the PPG sampling module by the quantity P, where (Δf₂₀−F₀)≤P≤Δf₂₀, so as to ensure that a sampling frequency deviation of the new sampling frequency (F₂+P) of the PPG sampling module can meet a requirement.

A method for increasing the data sampled by the PPG sampling module by the quantity P may be adding one piece of data every a specified length p, where p=(f₁/P).

FIG. 3 is a flowchart of Embodiment 3 of a blood pressure detection signal sampling and compensation method according to an embodiment of the present invention. As shown in FIG. 3, the method provided in this embodiment includes the following steps.

Step S301: Control an ECG sampling module and a PPG sampling module to simultaneously sample a standard periodic signal, and separately record sampling end times.

Specifically, a timer may be set. The timer may trigger a sampling trigger signal. When the timer expires, the ECG sampling module and the PPG sampling module are simultaneously controlled to sample the standard periodic signal. A sampling end time t₁ of the ECG sampling module and a sampling end time t₂ of the PPG sampling module are separately recorded.

Step S302: Calculate a sampling end time difference Δt₂₁ between the ECG sampling module and the PPG sampling module for the standard periodic signal, where Δt₂₁=|t₂−t₁|.

Specifically, to compensate for sampling times of the ECG sampling module and the PPG sampling module, the sampling end time difference Δt₂₁ between the ECG sampling module and the PPG sampling module for the standard periodic signal needs to be first determined, where Δt₂₁=|t₂−t₁|.

Step S303: Determine whether the sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal exceeds a preset time threshold.

Specifically, whether the sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal exceeds the preset time threshold is determined based on a relationship between Δt₂₁ and T₀, where T₀ is the preset time threshold. If Δt₂₁≤T₀, it indicates that the sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal does not exceed the preset time threshold. In this case, it is not necessary to compensate for the sampling times of the ECG sampling module and the PPG sampling module. This process may be terminated. If Δt₂₁>T₀, a relationship between t₂ and t₁ further needs to be determined. If t₂>t₁, step S304 is performed. If t₂<t₁, step S305 is performed.

Step S304: Delay a sampling time-to-trigger t_(p1) of the ECG sampling module if Δt₂₁>T₀ and t₂>t₁, so that T₀<|t_(p1)−t_(p2)|<Δt₂₁ is met, where t_(p2) is a sampling time-to-trigger of the PPG sampling module, and T₀ is the preset time threshold.

Specifically, if Δt₂₁>T₀, it indicates that the sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal exceeds the preset time threshold, and t₂>t₁ indicates that the sampling end time of the PPG sampling module is later than the sampling end time of the ECG sampling module. In this case, the sampling start time t_(p1) of the ECG sampling module needs to be delayed, so that T₀<|t_(p1)−t_(p2)|<Δt₂₁ is met, where t_(p2) is the sampling time-to-trigger of the PPG sampling module. Certainly, the compensation for the sampling times may alternatively be implemented by advancing the sampling time-to-trigger of the PPG sampling module.

Step S305: Delay the sampling time-to-trigger t_(p2) of the PPG sampling module if Δt₂₁>T₀ and t₂>t₁, so that T₀<|t_(p1)−t_(p2)|<Δt₂₁ is met.

Specifically, if Δt₂₁<T₀, it indicates that the sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal exceeds the preset time threshold, and t₂<t₁ indicates that the sampling end time of the PPG sampling module is earlier than the sampling end time of the ECG sampling module. In this case, the sampling start time t_(p2) of the PPG sampling module needs to be delayed, so that T₀<|t_(p1)−t_(p2)|<Δt₂₁ is met. Certainly, the compensation for the sampling times may alternatively be implemented by advancing the sampling time-to-trigger of the ECG sampling module.

FIG. 4 is a schematic structural diagram of Embodiment 1 of a blood pressure detection signal sampling and compensation apparatus according to an embodiment of the present invention. As shown in FIG. 4, the blood pressure detection signal sampling and compensation apparatus provided in this embodiment includes:

a control module 41, configured to control an ECG sampling module and a PPG module to simultaneously sample a standard periodic signal;

a calculation module 42, configured to separately obtain sampling frequencies and sampling end times of the ECG sampling module and the PPG sampling module for the standard periodic signal; and

a compensation module 43, configured to: compensate for a sampling frequency of the ECG sampling module if a sampling frequency deviation of the ECG sampling module for the standard periodic signal exceeds a preset frequency threshold, so that the sampling frequency deviation of the ECG sampling module for the standard periodic signal is less than the preset frequency threshold; compensate for a sampling frequency of the PPG sampling module if a sampling frequency deviation of the PPG sampling module for the standard periodic signal exceeds the preset frequency threshold, so that the sampling frequency deviation of the PPG sampling module for the standard periodic signal is less than the preset frequency threshold; and compensate for a sampling start time of the ECG sampling module or the PPG sampling module if a sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal exceeds a preset time threshold, so that the sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal is less than the preset time threshold.

The blood pressure detection signal sampling and compensation apparatus provided in this embodiment is configured to implement the method steps of the blood pressure detection signal sampling and compensation method shown in FIG. 1. An implementation principle and a technical effect of the apparatus are similar to those of the method. Details are not described herein.

FIG. 5 is a schematic structural diagram of Embodiment 2 of a blood pressure detection signal sampling and compensation apparatus according to an embodiment of the present invention. As shown in FIG. 5, on a basis of FIG. 4, the blood pressure detection signal sampling and compensation apparatus provided in this embodiment further includes:

a clock module 51, configured to generate a high-precision clock signal, where precision of the high-precision clock signal is one order of magnitude higher than precision of clock signals in the ECG sampling module and the PPG sampling module.

The control module 41 is specifically configured to: control, based on the high-precision clock signal, the ECG sampling module and the PPG sampling module to simultaneously sample the standard periodic signal, and record the sampling end times of the ECG sampling module and the PPG sampling module for the standard periodic signal based on the high-precision clock signal.

Further, in the embodiment shown in FIG. 5, the high-precision clock signal is generated by any one of a high-precision system crystal oscillator, a synchronization calibration clock signal of a Bluetooth module, and a synchronization calibration clock signal of a WiFi module. The high-precision clock signal includes any one of a sine wave signal, a triangular wave signal, and a sawtooth signal.

Further, in the embodiment shown in FIG. 4 or FIG. 5, the calculation module 42 is further configured to generate the standard periodic signal based on the high-precision clock signal.

Further, in the embodiment shown in FIG. 4 or FIG. 5, the control module 41 is specifically configured to: control the ECG sampling module to sample the standard periodic signal, and calculate a frequency f₁ of sampled data; and control the PPG sampling module to sample the standard periodic signal, and calculate a frequency f₂ of sampled data. The calculation module 42 is specifically configured to calculate Δf₁₀=|f₁−f₀| and Δf₂₀=|f₂−f₀|, where f₀ is a frequency of the standard periodic signal, Δf₁₀ is the sampling frequency deviation of the ECG sampling module for the standard periodic signal, and Δf₂₀ is the sampling frequency deviation of the PPG sampling module for the standard periodic signal. The compensation module 43 is specifically configured to: if Δf₁₀>F₀ and f₁>f₀, reduce data sampled by the ECG sampling module by a quantity L, where (Δf₁₀−F₀)≤L≤Δf₁₀, and use (F₁−L) as a new sampling frequency of the ECG sampling module, where F₁ is an original sampling frequency of the ECG sampling module, and F₀ is the preset frequency threshold; if Δf₁₀>F₀ and f₁<f₀, increase data sampled by the ECG sampling module by a quantity M, where (Δf₁₀−F₀)≤M≤Δf₁₀, and use (F₁+M) as a new sampling frequency of the ECG sampling module; if Δf₂₀>F₀ and f₂>f₀, reduce data sampled by the PPG) sampling module by a quantity N, where (Δf₂₀−F₀)≤N≤Δf₂₀, and use (F₂−N) as a new sampling frequency of the PPG sampling module, where F₂ is an original sampling frequency of the PPG sampling module; or if Δf₂₀>F₀ and f₂<f₀, increase data sampled by the PPG sampling module by a quantity P, where (Δf₂₀−F₀)≤P≤Δf₂₀, and use (F₂+P) as a new sampling frequency of the PPG sampling module.

Further, in the embodiment shown in FIG. 4 or FIG. 5, the calculation module 42 is further configured to calculate the sampling end time difference Δt₂₁ between the sampling module and the PPG sampling module for the standard periodic signal, where Δt₂₁=|t₂−t₁|, is a sampling end time of the ECG sampling module for the standard periodic signal, and t₂ is a sampling end time of the PPG sampling module for the standard periodic signal. The compensation module 43 is specifically configured to delay a sampling time-to-trigger t_(p1) of the ECG sampling module if Δt₂₁>T₀ and t₂>t₁, so that T₀<|t_(p1)−t_(p2)|<Δt₂₁ is met, where t_(p2) is a sampling time-to-trigger of the PPG sampling module, and T₀ is the preset time threshold; or delay a sampling time-to-trigger t_(p2) of the PPG sampling module if Δt₂₁>T₀ and t₂<t₁, so that T₀<|t_(p1)−t_(p2)|<Δt₂₁ is met.

FIG. 6 is a schematic structural diagram of Embodiment 1 of a blood pressure signal sampling system according to an embodiment of the present invention. As shown in FIG. 6, the blood pressure signal sampling system provided in this embodiment includes an ECG sampling module 61, a PPG sampling module 62, and a processor 63.

The processor 63 is configured to: control the ECG sampling module 61 and the PPG module 62 to simultaneously sample a standard periodic signal; separately obtain sampling frequencies and sampling end times of the ECG sampling module 61 and the PPG sampling module 62 for the standard periodic signal; compensate for a sampling frequency of the ECG sampling module 61 if a sampling frequency deviation of the ECG sampling module 61 for the standard periodic signal exceeds a preset frequency threshold, so that the sampling frequency deviation of the ECG sampling module 61 for the standard periodic signal is less than the preset frequency threshold; compensate for a sampling frequency of the PPG sampling module 62 if a sampling frequency deviation of the PPG sampling module 62 for the standard periodic signal exceeds the preset frequency threshold, so that the sampling frequency deviation of the PPG sampling module 62 for the standard periodic signal is less than the preset frequency threshold; and compensate for a sampling start time of the ECG sampling module 61 or the PPG sampling module 62 if a sampling end time difference between the ECG sampling module 61 and the PPG sampling module 62 for the standard periodic signal exceeds a preset time threshold, so that the sampling end time difference between the ECG sampling module 61 and the PPG sampling module 62 for the standard periodic signal is less than the preset time threshold.

Specifically, the blood pressure signal sampling system provided in this embodiment may be any system that can perform blood pressure detection according to a PTT method, for example, a home wrist blood pressure monitor and arm blood pressure monitor, or any medical blood pressure monitor. The blood pressure signal sampling system includes the ECG sampling module 61 and the PPG sampling module 62. The ECG sampling module 61 is configured to collect an electrocardiogram signal of a user, is constituted by an electrocardiogram sensor and an electrocardiogram signal sampling chip, and may use an integrated analog front end chip (for example, ADS1292) or a discrete sampling chip. The PPG sampling module 62 is constituted by a PPG optical sensor and a PPG sampling chip, and may use an integrated analog front end chip (for example, AFE4404/ADPD153) or a discrete sampling chip.

The processor 63 may be any hardware chip having a processing function.

FIG. 7 is a schematic structural diagram of Embodiment 2 of a blood pressure signal sampling system according to an embodiment of the present invention. As shown in FIG. 7, on a basis of FIG. 6, the blood pressure signal sampling system provided in this embodiment further includes:

a clock module 71, configured to generate a high-precision clock signal, where precision of the high-precision clock signal is one order of magnitude higher than precision of clock signals in the ECG sampling module 61 and the PPG sampling module 62.

The processor 63 is specifically configured to: control, based on the high-precision clock signal, the ECG sampling module 61 and the PPG sampling module 62 to simultaneously sample the standard periodic signal, and record the sampling end times of the ECG sampling module 61 and the PPG sampling module 62 for the standard periodic signal based on the high-precision clock signal.

The clock module 71 may be any one of a high-precision system crystal oscillator, a clock module in a Bluetooth module, and a clock module in a Wireless Fidelity WiFi module. The high-precision clock signal includes any one of a sine wave signal, a triangular wave signal, and a sawtooth signal.

Further, in the embodiment shown in FIG. 6 or FIG. 7, the processor 63 is further configured to generate the standard periodic signal based on the high-precision clock signal.

Further, in the embodiment shown in FIG. 6 or FIG. 7, the processor 63 is specifically configured to: control the ECG sampling module 61 to sample the standard periodic signal, and calculate a frequency f₁ of sampled data; control the PPG sampling module 62 to sample the standard periodic signal, and calculate a frequency f₂ of sampled data; calculate Δf₁₀=|f₁−f₀| and Δf₂₀=|f₂−f₀|, where f₀ is a frequency of the standard periodic signal, Δf₁₀ is the sampling frequency deviation of the ECG sampling module 61 for the standard periodic signal, and Δf₂₀ is the sampling frequency deviation of the PPG sampling module 62 for the standard periodic signal; and if Δf₁₀>F₀ and f₁>f₀, reduce data sampled by the ECG sampling module 61 by a quantity L, where (Δf₁₀−F₀)≤L≤Δf₁₀, and use (F₁−L) as a new sampling frequency of the ECG sampling module 61, where F₁ is an original sampling frequency of the ECG sampling module 61, and F₀ is the preset frequency threshold; if Δf₁₀>f₀ and f₁<f₀, increase data sampled by the ECG sampling module 61 by a quantity M, where (Δf₁₀−F₀)≤M≤Δf₁₀, and use (F₁+M) as a new sampling frequency of the ECG sampling module 61; if Δf₂₀>F₀ and f₂>f₀, reduce data sampled by the PPG sampling module 62 by a quantity N, where (Δf₂₀−F₀)≤N≤Δf₂₀, and use (F₂−N) as a new sampling frequency of the PPG sampling module 62, where F₂ is an original sampling frequency of the PPG sampling module 62; or if Δf₂₀>F₀ and f₂<f₀, increase data sampled by the PPG sampling module 62 by a quantity P, where (Δf₂₀−F₀)≤P≤Δf₂₀, and use (F₂+P) as a new sampling frequency of the PPG sampling module 62.

Further, in the embodiment shown in FIG. 6 or FIG. 7, the processor 63 is specifically configured to: calculate the sampling end time difference Δt₂₁ between the ECG sampling module 61 and the PPG sampling module 62 for the standard periodic signal, where Δt₂₁=|t₂−t₁|, t₁ is a sampling end time of the ECG sampling module 61 for the standard periodic signal, and t₂ is a sampling end time of the PPG sampling module 62 for the standard periodic signal; and delay a sampling time-to-trigger t_(p1) of the ECG sampling module 61 if Δt₂₁ T₀ and t₂>t₁, so that T₀<|t_(p1)−t_(p2)|<Δt₂₁ is met, where t_(p2) is a sampling time-to-trigger of the PPG sampling module 62, and T₀ is the preset time threshold; or delay a sampling time-to-trigger t_(p2) of the PPG sampling module 62 if Δt₂₁>T₀ and t₂<t₁, so that T₀<|t_(p1)−t_(p2)|<Δt₂₁ is met.

Persons of ordinary skill in the art may understand that all or some of the steps of the method embodiments may be implemented by a program instructing relevant hardware. The program may be stored in a computer-readable storage medium. When the program runs, the steps of the method embodiments are performed. The foregoing storage medium includes: any medium that can store program code, such as a ROM, a RAM, a magnetic disk, or an optical disc.

Finally, it should be noted that the foregoing embodiments are merely intended for describing the technical solutions of the present invention, but not for limiting the present invention. Although the present invention is described in detail with reference to the foregoing embodiments, persons of ordinary skill in the art should understand that they may still make modifications to the technical solutions described in the foregoing embodiments or make equivalent replacements to some or all technical features thereof. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims. 

1. A blood pressure detection signal sampling and compensation method, comprising: controlling an electrocardiogram (ECG) sampling module and a photoplethysmogram (PPG) sampling module to simultaneously sample a standard periodic signal; separately obtaining sampling frequencies and sampling end times of the ECG sampling module and the PPG sampling module for the standard periodic signal; compensating for a sampling frequency of the ECG sampling module if a sampling frequency deviation of the ECG sampling module for the standard periodic signal exceeds a preset frequency threshold, wherein the compensating causes the sampling frequency deviation of the ECG sampling module for the standard periodic signal is less than the preset frequency threshold; compensating for a sampling frequency of the PPG sampling module if a sampling frequency deviation of the PPG sampling module for the standard periodic signal exceeds the preset frequency threshold, wherein the compensating causes the sampling frequency deviation of the PPG sampling module for the standard periodic signal is less than the preset frequency threshold; and compensating for a sampling start time of the ECG sampling module or the PPG sampling module if a sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal exceeds a preset time threshold, wherein the compensating causes the sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal is less than the preset time threshold.
 2. The method according to claim 1, wherein before the controlling an ECG sampling module and a PPG sampling module to simultaneously sample a standard periodic signal, the method further comprises: generating a high-precision clock signal, wherein precision of the high-precision clock signal is one order of magnitude higher than precision of clock signals in the ECG sampling module and the PPG sampling module; the controlling an ECG sampling module and a PPG sampling module to simultaneously sample a standard periodic signal comprises: controlling, based on the high-precision clock signal, the ECG sampling module and the PPG sampling module to simultaneously sample the standard periodic signal; and the separately obtaining sampling frequencies and sampling end times of the ECG sampling module and the PPG sampling module for the standard periodic signal comprises: recording the sampling end times of the ECG sampling module and the PPG sampling module for the standard periodic signal based on the high-precision clock signal.
 3. The method according to claim 2, wherein the high-precision clock signal is generated by any one of a high-precision system crystal oscillator, a synchronization calibration clock signal of a Bluetooth module, and a synchronization calibration clock signal of a Wireless Fidelity (WiFi) module; and the high-precision clock signal comprises: any one of a sine wave signal, a triangular wave signal, and a sawtooth signal.
 4. The method according to claim 2, wherein before the controlling an ECG sampling module and a PPG sampling module to separately sample a standard periodic signal, the method further comprises: generating the standard periodic signal based on the high-precision clock signal.
 5. The method according to claim 1, wherein the controlling an ECG sampling module and a PPG sampling module to separately sample a standard periodic signal comprises: controlling the ECG sampling module to sample the standard periodic signal, and calculating a frequency f₁ of sampled data; and controlling the PPG sampling module to sample the standard periodic signal, and calculating a frequency f₂ of sampled data; the separately obtaining sampling frequencies and sampling end times of the ECG sampling module and the PPG sampling module for the standard periodic signal comprises: calculating Δf₁₀=|f₁−f₀| and Δf₂₀=|f₂−f₀|, wherein f₀ is a frequency of the standard periodic signal, Δf₁₀ is the sampling frequency deviation of the ECG sampling module for the standard periodic signal, and Δf₂₀ is the sampling frequency deviation of the PPG sampling module for the standard periodic signal; the compensating for a sampling frequency of the ECG sampling module if a sampling frequency deviation of the ECG sampling module for the standard periodic signal exceeds a preset frequency threshold, wherein the compensating causes the sampling frequency deviation of the ECG sampling module for the standard periodic signal is less than the preset frequency threshold comprises: if Δf₁₀>F₀ and f₁>f₀, reducing data sampled by the ECG sampling module by a quantity L, wherein (Δf₁₀−F₀)≤L≤Δf₁₀, and using (F₁−L) as a new sampling frequency of the ECG sampling module, wherein F₁ is an original sampling frequency of the ECG sampling module, and F₀ is the preset frequency threshold; or if Δf₁₀>F₀ and f₁<f₀, increasing data sampled by the ECG sampling module by a quantity M, wherein (Δf₁₀−F₀)≤M≤Δf₁₀, and using (F₁+M) as a new sampling frequency of the ECG sampling module; and the compensating for a sampling frequency of the PPG sampling module if a sampling frequency deviation of the PPG sampling module for the standard periodic signal exceeds the preset frequency threshold, wherein the compensating causes the sampling frequency deviation of the PPG sampling module for the standard periodic signal is less than the preset frequency threshold comprises: if Δf₂₀>F₀ and f₂>f₀, reducing data sampled by the PPG sampling module by a quantity N, wherein (Δf₂₀−F₀)≤N≤Δf₂₀, and using (F₂−N) as a new sampling frequency of the PPG sampling module, wherein F₂ is an original sampling frequency of the PPG sampling module; or if Δf₂₀>F₀ and f₂<f₀, increasing data sampled by the PPG sampling module by a quantity P, wherein (Δf₂₀−F₀)≤P≤Δf₂₀, and using (F₂+P) as a new sampling frequency of the PPG sampling module.
 6. The method according to claim 1, wherein the compensating for a sampling start time of the ECG sampling module or the PPG sampling module if a sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal exceeds a preset time threshold, wherein the compensating causes the sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal is less than the preset time threshold comprises: calculating the sampling end time difference Δt₂₁ between the ECG sampling module and the PPG sampling module for the standard periodic signal, wherein Δt₂₁=|t₂−t₁|, t₁ is a sampling end time of the ECG sampling module for the standard periodic signal, and t₂ is a sampling end time of the PPG sampling module for the standard periodic signal; and delaying a sampling time-to-trigger t_(p1) of the ECG sampling module if Δt₂₁>T₀ and t₂>t₁, wherein the delaying causes T₀<|t_(p1)−t_(p2)|<Δt₂₁ to be met, wherein t_(p2) is a sampling time-to-trigger of the PPG sampling module, and T₀ is the preset time threshold; or delaying a sampling time-to-trigger t_(p2) of the PPG sampling module if Δt₂₁>T₀ and t₂<t₁, wherein the delaying causes T₀<|t_(p1)−t_(p2)|<Δt₂₁ to be met. 7.-12. (canceled)
 13. A blood pressure signal sampling system, comprising an electrocardiogram (ECG) sampling module, a photoplethysmogram (PPG) sampling module, and at least one processor, wherein the processor is configured to: control the ECG sampling module and the PPG module to simultaneously sample a standard periodic signal; separately obtain sampling frequencies and sampling end times of the ECG sampling module and the PPG sampling module for the standard periodic signal; compensate for a sampling frequency of the ECG sampling module if a sampling frequency deviation of the ECG sampling module for the standard periodic signal exceeds a preset frequency threshold, wherein the compensating causes the sampling frequency deviation of the ECG sampling module for the standard periodic signal to be less than the preset frequency threshold; compensate for a sampling frequency of the PPG sampling module if a sampling frequency deviation of the PPG sampling module for the standard periodic signal exceeds the preset frequency threshold, wherein the compensating causes the sampling frequency deviation of the PPG sampling module for the standard periodic signal to be less than the preset frequency threshold; and compensate for a sampling start time of the ECG sampling module or the PPG sampling module if a sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal exceeds a preset time threshold, wherein the compensating causes the sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal to be less than the preset time threshold.
 14. The system according to claim 13, further comprising a clock module, the clock module configured to generate a high-precision clock signal, wherein precision of the high-precision clock signal is one order of magnitude higher than precision of clock signals in the ECG sampling module and the PPG sampling module; and the at least one processor is configured to: control, based on the high-precision clock signal, the ECG sampling module and the PPG sampling module to simultaneously sample the standard periodic signal; and record the sampling end times of the ECG sampling module and the PPG sampling module for the standard periodic signal based on the high-precision clock signal.
 15. The system according to claim 14, wherein the clock module comprises any one of a high-precision system crystal oscillator, a clock module in a Bluetooth module, and a clock module in a Wireless Fidelity (WiFi) module; the high-precision clock signal is generated by any one of the high-precision system crystal oscillator, a synchronization calibration clock signal of the Bluetooth module, and a synchronization calibration clock signal of the WiFi module; and the high-precision clock signal comprises: any one of a sine wave signal, a triangular wave signal, and a sawtooth signal.
 16. The system according to claim 14, wherein the at least one processor is further configured to generate the standard periodic signal based on the high-precision clock signal.
 17. The system according to claim 13, wherein the at least one processor is configured to: control the ECG sampling module to sample the standard periodic signal, and calculate a frequency f₁ of sampled data; control the PPG sampling module to sample the standard periodic signal, and calculate a frequency f₂ of sampled data; calculate Δf₁₀=|f₁−f₀| and Δf₂₀=|f₂−f₀|, wherein f₀ is a frequency of the standard periodic signal, Δf₁₀ is the sampling frequency deviation of the ECG sampling module for the standard periodic signal, and Δf₂₀ is the sampling frequency deviation of the PPG sampling module for the standard periodic signal; and if Δf₁₀>F₀ and f₁>f₀, reduce data sampled by the ECG sampling module by a quantity L, wherein (Δf₁₀−F₀)≤L≤Δf₁₀, and use (F₁−L) as a new sampling frequency of the ECG sampling module, wherein F₁ is an original sampling frequency of the ECG sampling module, and F₀ is the preset frequency threshold; if Δf₁₀>F₀ and f₁<f₀, increase data sampled by the ECG sampling module by a quantity M, wherein (Δf₁₀−F₀)≤M≤Δf₁₀, and use (F₁+M) as a new sampling frequency of the ECG sampling module; if Δf₂₀>Δf₀ and f₂>f₀, reduce data sampled by the PPG sampling module by a quantity N, wherein (Δf₂₀−F₀)≤N≤Δf₂₀, and use (F₂−N) as a new sampling frequency of the PPG sampling module, wherein F₂ is an original sampling frequency of the PPG sampling module; or if Δf₂₀>F₀ and f₂<f₀, increase data sampled by the PPG sampling module by a quantity P, wherein (Δf₂₀−F₀)≤P≤Δf₂₀, and use (F₂+P) as a new sampling frequency of the PPG sampling module.
 18. The system according to claim 13, wherein the at least one processor is configured to: calculate the sampling end time difference Δt₂₁ between the ECG sampling module and the PPG sampling module for the standard periodic signal, wherein Δt₂₁=|t₂−t₁|, t₁ is a sampling end time of the ECG sampling module for the standard periodic signal, and t₂ is a sampling end time of the PPG sampling module for the standard periodic signal; and delay a sampling time-to-trigger t_(p1) of the ECG sampling module if Δt₂₁>T₀ and t₂>t₁, wherein the delaying causes T₀<|t_(p1)−t_(p2)|<Δt₂₁ to be met, wherein t_(p2) is a sampling time-to-trigger of the PPG sampling module, and T₀ is the preset time threshold; or delay a sampling time-to-trigger t_(p2) of the PPG sampling module if Δt₂₁>T₀ and t₂<t₁, wherein the delaying causes T₀<|t_(p1)−t_(p2)|<Δt₂₁ to be met.
 19. The method according to claim 3, wherein before the controlling an ECG sampling module and a PPG sampling module to separately sample a standard periodic signal, the method further comprises: generating the standard periodic signal based on the high-precision clock signal.
 20. The method according to claim 19, wherein the controlling an ECG sampling module and a PPG sampling module to separately sample a standard periodic signal comprises: controlling the ECG sampling module to sample the standard periodic signal, and calculating a frequency f₁ of sampled data; and controlling the PPG sampling module to sample the standard periodic signal, and calculating a frequency f₂ of sampled data; the separately obtaining sampling frequencies and sampling end times of the ECG sampling module and the PPG sampling module for the standard periodic signal comprises: calculating Δf₁₀=|f₁−f₀| and Δf₂₀=|f₂−f₀|, wherein f₀ is a frequency of the standard periodic signal, Δf₁₀ is the sampling frequency deviation of the ECG sampling module for the standard periodic signal, and Δf₂₀ is the sampling frequency deviation of the PPG sampling module for the standard periodic signal; the compensating for a sampling frequency of the ECG sampling module if a sampling frequency deviation of the ECG sampling module for the standard periodic signal exceeds a preset frequency threshold, wherein the compensating causes the sampling frequency deviation of the ECG sampling module for the standard periodic signal is less than the preset frequency threshold comprises: if Δf₁₀>F₀ and f₁>f₀, reducing data sampled by the ECG sampling module by a quantity L, wherein (Δf₁₀−F₀)≤L≤Δf₁₀, and using (F₁−L) as a new sampling frequency of the ECG sampling module, wherein F₁ is an original sampling frequency of the ECG sampling module, and F₀ is the preset frequency threshold; or if Δf₁₀>F₀ and f₁<f₀, increasing data sampled by the ECG sampling module by a quantity M, wherein (Δf₁₀−F₀)≤M≤Δf₁₀, and using (F₁+M) as a new sampling frequency of the ECG sampling module; and the compensating for a sampling frequency of the PPG sampling module if a sampling frequency deviation of the PPG sampling module for the standard periodic signal exceeds the preset frequency threshold, wherein the compensating causes the sampling frequency deviation of the PPG sampling module for the standard periodic signal is less than the preset frequency threshold comprises: if f₂₀>F₀ and f₂>f₀, reducing data sampled by the PPG sampling module by a quantity N, wherein (Δf₂₀−F₀)≤N≤Δf₂₀, and using (F₂−N) as a new sampling frequency of the PPG sampling module, wherein F₂ is an original sampling frequency of the PPG sampling module; or if Δf₂₀>F₀ and f₂<f₀, increasing data sampled by the PPG sampling module by a quantity P, wherein (Δf₂₀−F₀)≤P≤Δf₂₀, and using (F₂+P) as a new sampling frequency of the PPG sampling module.
 21. The method according to claim 20, wherein the compensating for a sampling start time of the ECG sampling module or the PPG sampling module if a sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal exceeds a preset time threshold, wherein the sampling end time difference between the ECG sampling module and the PPG sampling module for the standard periodic signal is less than the preset time threshold comprises: calculating the sampling end time difference Δt₂₁ between the ECG sampling module and the PPG sampling module for the standard periodic signal, wherein Δt₂₁=|t₂−t₁|, t₁ is a sampling end time of the ECG sampling module for the standard periodic signal, and t₂ is a sampling end time of the PPG sampling module for the standard periodic signal; and delaying a sampling time-to-trigger t_(p1) of the ECG sampling module if Δt₂₁>T₀ and t₂>t₁, wherein the delaying causes T₀<|t_(p1)−t_(p2)|<Δt₂₁ to be met, wherein t_(p2) is a sampling time-to-trigger of the PPG sampling module, and T₀ is the preset time threshold; or delaying a sampling time-to-trigger t_(p2) of the PPG sampling module if Δt₂₁>T₀ and t₂<t₁, wherein delaying causes T₀<|t_(p1)−t_(p2)|<Δt₂₁ to be met.
 22. The system according to claim 15, wherein the at least one processor is further configured to generate the standard periodic signal based on the high-precision clock signal.
 23. The system according to claim 22, wherein the at least one processor is configured to: control the ECG sampling module to sample the standard periodic signal, and calculate a frequency f₁ of sampled data; control the PPG sampling module to sample the standard periodic signal, and calculate a frequency f₂ of sampled data; calculate Δf₁₀=|f₁−f₀| and Δf₂₀=|f₂−f₀|, wherein f₀ is a frequency of the standard periodic signal, Δf₁₀ is the sampling frequency deviation of the ECG sampling module for the standard periodic signal, and Δf₂₀ is the sampling frequency deviation of the PPG sampling module for the standard periodic signal; and if Δf₁₀>F₀ and f₁>f₀, reduce data sampled by the ECG sampling module by a quantity L, wherein (Δf₁₀−F₀)≤L≤Δf₁₀, and use (F₁−L) as a new sampling frequency of the ECG sampling module, wherein F₁ is an original sampling frequency of the ECG sampling module, and F₀ is the preset frequency threshold; if Δf₁₀>F₀ and f₁<f₀, increase data sampled by the ECG sampling module by a quantity M, wherein (Δf₁₀−F₀)≤M≤Δf₁₀, and use (F₁+M) as a new sampling frequency of the ECG sampling module; if Δf₂₀>F₀ and f₂>f₀, reduce data sampled by the PPG sampling module by a quantity N, wherein (Δf₂₀−F₀)≤N≤Δf₂₀, and use (F₂−N) as a new sampling frequency of the PPG sampling module, wherein F₂ is an original sampling frequency of the PPG sampling module; or if Δf₂₀>F₀ and f₂<f₀, increase data sampled by the PPG sampling module by a quantity P, wherein (Δf₂₀−F₀)≤P≤Δf₂₀, and use (F₂+P) as a new sampling frequency of the PPG sampling module.
 24. The system according to claim 23, wherein the at least one processor is configured to: calculate the sampling end time difference Δt₂₁ between the ECG sampling module and the PPG sampling module for the standard periodic signal, wherein Δt₂₁=|t₂−t₁|, t₁ is a sampling end time of the ECG sampling module for the standard periodic signal, and t₂ is a sampling end time of the PPG sampling module for the standard periodic signal; and delay a sampling time-to-trigger t_(p1) of the ECG sampling module if Δt₂₁>T₀ and t₂>t₁, wherein the delaying causes T₀<|t_(p1)−t_(p2)|<Δt₂₁ to be met, wherein t_(p2) is a sampling time-to-trigger of the PPG sampling module, and T₀ is the preset time threshold; or delay a sampling time-to-trigger t_(p2) of the PPG sampling module if Δt₂₁>T₀ and t₂<t₁, wherein the delaying causes T₀<|t_(p1)−t_(p2)|<Δt₂₁ to be met. 